"use strict";

const fmp = require("freemarker-parser");

const parser = new fmp.Parser();
const data = parser.parse(/* tpl */ `
<#assign f=1 />
<#if f gt 0>
  \${f} > 0; \${user!"Anonymous"}
<#else/>
  <div> \${f} < 0 </div>
</#if>
`);

console.dir(data.ast, { depth: Infinity });
// console.log(data.tokens);
